<html>
<head><meta charset="utf-8"><title>local rustc-perf site · t-compiler/performance · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/index.html">t-compiler/performance</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html">local rustc-perf site</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209039033"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209039033" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209039033">(Sep 03 2020 at 23:00)</a>:</h4>
<p>I'm trying to compare some benchmarks locally with rustc-perf, but I can't seem to get the local site to show any results. I'm doing:</p>
<div class="codehilite"><pre><span></span><code>$ ./target/release/collector bench_local --include tuple-stress-check ./before before
Benchmarking before for triple x86_64-unknown-linux-gnu
collection took 666ns
$ ./target/release/collector bench_local --include tuple-stress-check ./after after
Benchmarking after for triple x86_64-unknown-linux-gnu
collection took 653ns
$./target/release/site ./results.db
Starting server with port=2346
Loading complete; 0 commits and 2 artifacts
View the results in a web browser at &#39;localhost:2346/compare.html&#39;
</code></pre></div>


<p>Then entering "before" and "after" for commit A and B. Clicking "Submit" does nothing. Using <code>http://localhost:2346/compare.html?start=before&amp;end=after</code> gives the error <code>Failed to process query; fix one of these errors: ProcessStatistic does not have </code>instructions:u<code> as a valid value; or query must have QueryLabel selector</code>.</p>
<p>Anyone know what I'm missing? Or are local benchmark comparisons non-functional right now?</p>



<a name="209041189"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209041189" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209041189">(Sep 03 2020 at 23:33)</a>:</h4>
<p>Are your <code>before</code> and <code>after</code> directories or <code>rustc</code> binaries?</p>



<a name="209041198"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209041198" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209041198">(Sep 03 2020 at 23:33)</a>:</h4>
<p>You need the latter, pointing to the actual executable</p>



<a name="209041465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209041465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209041465">(Sep 03 2020 at 23:38)</a>:</h4>
<p>They were directories in that case, but I had tried pointing to the executables before to no avail either</p>



<a name="209041709"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209041709" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209041709">(Sep 03 2020 at 23:42)</a>:</h4>
<p>666ns is way too short for successful resutls</p>



<a name="209041762"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209041762" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209041762">(Sep 03 2020 at 23:43)</a>:</h4>
<p><span class="user-mention" data-user-id="306073">@Tyson Nottingham</span> can you try running with RUST_LOG=collector=trace,raw_cargo_messages=trace and paste that output?</p>



<a name="209042083"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209042083" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209042083">(Sep 03 2020 at 23:48)</a>:</h4>
<div class="codehilite"><pre><span></span><code>$ RUST_LOG=collector=trace,raw_cargo_messages=trace ./target/release/collector bench_local --include tuple-stress-check ./before/bin/rustc before
[2020-09-03T23:43:52Z DEBUG collector] found cargo: &quot;/home/tgnottingham/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo&quot;
[2020-09-03T23:43:52Z DEBUG collector] benchmark wg-grammar - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark packed-simd - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark webrender - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark deep-vector - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark coercions - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark cargo - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark await-call-tree - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark encoding - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark ripgrep - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark tokio-webpush-simple - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark html5ever - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark deeply-nested - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark token-stream-stress - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark regression-31157 - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark piston-image - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark hyper-2 - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark README.md - ignored
[2020-09-03T23:43:52Z DEBUG collector] benchmark clap-rs - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark tuple-stress - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark style-servo - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark rust-mozjs - ignored
[2020-09-03T23:43:52Z DEBUG collector] benchmark issue-46449 - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark unicode_normalization - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark futures - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark keccak - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark unused-warnings - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark inflate - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark issue-58319 - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark cranelift-codegen - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark wf-projection-stress-65510 - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark webrender-wrench - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark native-tls-0.1.5 - ignored
[2020-09-03T23:43:52Z DEBUG collector] benchmark helloworld - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark LICENSE.md - ignored
[2020-09-03T23:43:52Z DEBUG collector] benchmark unify-linearly - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark ucd - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark regex - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark syn - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark many-assoc-items - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark ctfe-stress-4 - doesn&#39;t match --include argument, skipping
[2020-09-03T23:43:52Z DEBUG collector] benchmark serde - doesn&#39;t match --include argument, skipping
</code></pre></div>


<p>Looks like I used the wrong name in the <code>--include</code>. <code> tuple-stress-check</code> instead of <code> tuple-stress</code>.</p>



<a name="209042088"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209042088" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209042088">(Sep 03 2020 at 23:48)</a>:</h4>
<p>Aha, yeah, that'll be the cause. I just pushed some debugging that'll hopefully catch that quicker in the future</p>



<a name="209042222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/local%20rustc-perf%20site/near/209042222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/local.20rustc-perf.20site.html#209042222">(Sep 03 2020 at 23:51)</a>:</h4>
<p>Thanks! Having some issues with <code>perf</code> now, but I'll muddle through :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>